package ar.posti.framework.query.core.paginator;

import java.util.ArrayList;
import java.util.List;

public class Page {
	private List results;
	private int totalPages;
	private int currentPage;
	
	public Page() {
		this.setResults(new ArrayList());
	}

	public List getResults() {
		return results;
	}
	public void setResults(List results) {
		this.results = results;
	}

	public int getCurrentPage() {
		return this.currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getTotalPages() {
		return this.totalPages;
	}
	public void setTotalPages(int totalPages) {
		this.totalPages = totalPages;
	}
	public boolean isEmpty() {
		return this.results.isEmpty();
	}
	
}
